<?xml version='1.0'?>
<xsl:stylesheet version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<HTML>
<STYLE>
.Main {font-family:tahoma;color:white;font-weight:bold; font-size:8pt;text-decoration:none}
.COPY {font-family:tahoma;color:black;font-size:8pt}
.BODY {font-family:tahoma;color:black;font-size:9pt}
.NOTES {font-family:tahoma;color:black;font-weight:bold; font-size:9pt;text-decoration:none}
.H {font-family:tahoma;color:black;font-size:14pt;font-weight:bold}
.sbttn {font-family:tahoma;color:black;font-size:8pt;background: #D6E7EF;border-bottom: 1px solid #104A7B;border-right: 1px solid #104A7B;border-left: 1px solid #AFC4D5;border-top:1px solid #AFC4D5; 
</STYLE>
<SCRIPT LANGUAGE="JAVASCRIPT">

function openwin(url)
{
	window.open(url, null,'resizable=no,max=no, width=600,height=500, top=25, left=100, status=no');
	return false;
}
function getStatus()
{	
	var parName;
	var iEnd = location.href.lastIndexOf('/');
	var fullPar = location.href.substr(0,iEnd);
	var iLast = fullPar.lastIndexOf('/');
	parName = fullPar.substr(iLast+1);

	document.getElementById("mainp").innerText= parName + " Cases";
}
</SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="../../../../images/check.js" />
<BODY CLASS="BODY" onload="getStatus()">
<TABLE border="0" CLASS="Main" BACKGROUND="../../../../images/bannercust.gif" width="750" height="68px">
<TR>
<TD width="50%"></TD>
<TD width="65" valign="bottom" align="center">
<A class="main" href="index.html">Home</A>
</TD>
<TD width="65" valign="bottom" align="center">
<A class="main" href="help.html#contact">Contact Us</A>
</TD>
<TD width="65" valign="bottom" align="center">
<A class="main" href="login.html">My Ucqme</A></TD>
<TD width="65" valign="bottom" align="center">
<A class="main" href="search.html">Search</A>
</TD>
<TD width="65" valign="bottom" align="center">
<A class="main" href="join.html">Join</A>
</TD>
</TR>
</TABLE>

<P CLASS="H" ID="mainp"></P>
<HR/>

<FORM NAME="CMS" ACTION="../../bin/delete.pl" METHOD="POST">
<TABLE CLASS="BODY" WIDTH="608">
<TR>
<TD>
<INPUT TYPE="BUTTON" NAME="delete" VALUE="Delete" CLASS="sbttn" />
</TD>
<TD>
<SELECT NAME="MOVETO" CLASS="sbttn" >
<OPTION NAME="NONE">Move To Queue</OPTION>
<OPTION NAME="OPENED">Opened</OPTION>
<OPTION NAME="CLOSED">Closed</OPTION>
<OPTION NAME="PENDED">Pended</OPTION>
</SELECT>
</TD>
</TR>
</TABLE>

</FORM>
<TABLE CLASS="BODY" width="608" cellpadding="0" cellspacing="0" style="padding-left:15;">
	<TR BGCOLOR="#42427B" CLASS="MAIN">
		<TD><!--Opened yet?--></TD>
		<TD><INPUT TYPE="checkbox" NAME="all" onClick="checkAll()" /></TD>
		<TD>First Name</TD>
		<TD>Last Name</TD>
		<TD>Phone Number</TD>
		<TD>Contact Information</TD>
	</TR>


<groups>
        <xsl:apply-templates select="//groupRef"/>
</groups>

</TABLE>
</BODY>
</HTML>
</xsl:template>

<xsl:template match="groupRef">
<TR>
	<TD><IMG SRC="../../../../images/newitem.gif" /></TD>
	<TD><INPUT TYPE="checkbox" /></TD>
	<TD><xsl:element name="a">
<xsl:attribute name="HREF"><xsl:value-of select="@href"/></xsl:attribute><xsl:value-of select="document(@href)//UCQMEREQUEST/FIRSTNAME"/></xsl:element></TD>
	<TD><xsl:value-of select="document(@href)//UCQMEREQUEST/LASTNAME"/></TD>
	<TD>(<xsl:value-of select="document(@href)//UCQMEREQUEST/PHONEAREA"/>)-<xsl:value-of select="document(@href)//UCQMEREQUEST/PHONE3"/>-<xsl:value-of select="document(@href)//UCQMEREQUEST/PHONE4"/></TD>
	<TD>
	<xsl:choose>
		<xsl:when test="document(@href)//UCQMEREQUEST/MSNMESSENGER != ''"><xsl:element name="a"><xsl:attribute name="HREF">#top</xsl:attribute><xsl:attribute name="onClick">openwin('../../../../bin/controlpanel.htm')</xsl:attribute><IMG SRC="../../../../images/ucqmenowactive.gif" BORDER="0" /></xsl:element></xsl:when>
		<xsl:when test="document(@href)//UCQMEREQUEST/EMAIL != ''"><xsl:element name="a"><xsl:attribute name="HREF">#top</xsl:attribute><xsl:attribute name="onClick">openwin('../../../../bin/controlpanel.htm')</xsl:attribute><IMG SRC="../../../../images/ucqmenowactive.gif" BORDER="0" /></xsl:element></xsl:when>
		<xsl:when test="document(@href)//UCQMEREQUEST/YAHOO != ''"><xsl:element name="a"><xsl:attribute name="HREF">#top</xsl:attribute><xsl:attribute name="onClick">openwin('../../../../bin/controlpanel.htm')</xsl:attribute><IMG SRC="../../../../images/ucqmenowactive.gif" BORDER="0" /></xsl:element></xsl:when>
		<xsl:otherwise><IMG SRC="../../../../images/ucqmenowdim.gif" BORDER="0" /></xsl:otherwise>
	</xsl:choose>
	<xsl:choose>
		<xsl:when test="document(@href)//UCQMEREQUEST/UCQMELIVESID != ''">
			<xsl:element name="a">
				<xsl:attribute name="HREF">
					#top
				</xsl:attribute>
				<xsl:attribute name="onClick">
					openwin('../../../../bin/controlpanel.htm')
				</xsl:attribute>
				<IMG SRC="../../../../images/ucqmeliveactive.gif" BORDER="0" />
			</xsl:element>
		</xsl:when>
		<xsl:otherwise><IMG SRC="../../../../images/ucqmelivedim.gif" BORDER="0" /></xsl:otherwise>
	</xsl:choose>
	<xsl:choose>
		<xsl:when test="document(@href)//UCQMEREQUEST/UCQMERCSID != ''">
			<xsl:element name="a">
				<xsl:attribute name="HREF">
					#top
				</xsl:attribute>
				<xsl:attribute name="onClick">
					openwin('../../../../bin/controlpanel.htm')
				</xsl:attribute>
				<IMG SRC="../../../../images/ucqmercactive.gif" BORDER="0" />
			</xsl:element>
		</xsl:when>
		<xsl:otherwise><IMG SRC="../../../../images/ucqmercdim.gif" BORDER="0" /></xsl:otherwise>
	</xsl:choose>

	</TD>
</TR>
<TR>
<TD COLSPAN="2" ALIGN="RIGHT" CLASS="NOTES">Notes:</TD>
<TD COLSPAN="4"><xsl:value-of select="document(@href)//UCQMEREQUEST/NOTES"/></TD>
</TR>
</xsl:template>

</xsl:stylesheet>
